<?php get_header(); ?>

<div id="container">
     
<?php if(have_posts()): ?>
	<?php while(have_posts()):the_post(); ?>
                	
		<div class="singlepost" id="page-<?php the_ID(); ?>">                
			<div class="singleentry"> 
				<div class="headline">
					<h1><?php the_title(); ?></h1>
				</div>
                    
                <div class="singletextexcerpt">
					<?php the_excerpt(); ?>
                </div>
                
				<?php the_content(); ?>
				
                <?php link_pages('<p><strong>Pages:</strong>','</p>','number'); ?>
                     
                <div class="comments-template">
                   	<?php comments_template(); ?>
                </div>              
			</div>
            
		</div>
                
	<?php endwhile; ?>
            
<?php else : ?>
            
	<div class="post">
		<h1><?php _e('Page Not Found'); ?></h1>
	</div>
            
<?php endif; ?>
        
</div>
    
<div class="verticalpostspacer"></div>  
    
<?php get_sidebar(); ?>
    
<div class="verticallayoutspacer"></div>
    
<?php get_footer(); ?>
    
</div>
</body>
</html>